<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
		<canvas id ="canvas" width="500" height="500" style="border:1px solid #000"></canvas>

</body>
</html>

<script type="text/javascript">
	var canvas = document.getElementById('canvas');
	var context = canvas.getContext('2d');
	var image = new Image();
	image.src = 'images/zhongqiu.jpg';
	image.onload=function () {
		context.drawImage(image,10,10,200,200);
		context.drawImage(image,330,200,320,300,210,210,200,200)
		// body...
	}
	</script>